<template>
  <div class="content">
    <div class="list_content" v-for="(item,index) in arr" :key="index">
      <h2>{{item.title}}</h2>
      <li v-for="(jtem,i) in item.list" :key="i">
        <span>{{jtem.sub}}</span>
        <span v-if="typeof jtem.text==='object'">
          <span v-for="(a,b) in jtem.text" :key="b">{{a}}、</span>
        </span>
        <span v-else>{{jtem.text}}</span>
      </li>
    </div>
  </div>
</template>
<script lang="ts">
import Vue from "vue";
export default Vue.extend({
  props: ["arr"],
});
</script>